package com.abel.roommanager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.abel.roommanager.pojo.Teacher;

public interface TeacherMapper {
    @Select("select * from teacher")
	List<Teacher> findAllTeacher();
    @Select("select * from teacher where id=#{tid}")
    Teacher findTeacherByTid(int tid);
}
